<%--
  Created by IntelliJ IDEA.
  User: 陈金平
  Date: 2020/11/20
  Time: 16:04
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html lang="en">
<head>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <!-- Bootstrap CSS -->
    <link rel="stylesheet" href="css/bootstrap.min.css">
    <title>新增科室</title>
</head>

<body>
<h1 class="text-center pt-3 pb-3">修改科室</h1>

<div class="container">
    <hr>
    <form action="set_department" method="post">
        <div class="form-group row">
            <h4 class="offset-md-3 col-md-2 text-right">科室名称：</h4>
            <input type="hidden" name="did" value="${departments.did}">
            <div class="col-md-4">
                <input type="text" class="form-control" name="dname" value="${departments.dname}" id="inputUsername" placeholder="">
            </div>
        </div>

        <div class="offset-md-5 col-md-4 text-left">
            <button type="submit" class="btn btn-primary">修改科室</button>
            <button type="button" class="btn btn-outline-primary">关闭窗口</button>
        </div>
    </form>
</div>
</body>
</html>

